package com.ruoyi.eqmonitor.dispose.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.eqmonitor.dispose.domain.ExteriorSiteAlarm;
import com.ruoyi.eqmonitor.dispose.dtos.ExteriorSiteAlarmVo;
import com.ruoyi.eqmonitor.dtos.CockpitRiverwayAlarmDto;

import java.util.List;

/**
 * @author ruoyi
 * @date 2023-04-11
 */
public interface ExteriorSiteAlarmMapper extends BaseMapper<ExteriorSiteAlarm>{

    public List<ExteriorSiteAlarm> selectExteriorSiteAlarmList(ExteriorSiteAlarm exteriorSiteAlarm);
    
    public ExteriorSiteAlarm selectExteriorSiteAlarmById(Long id);

    List<ExteriorSiteAlarm> getNewestAlarm();

    List<ExteriorSiteAlarmVo> cockpitRiverwayAlarm(CockpitRiverwayAlarmDto dto);

}
